import { getAll as getUser } from "@/api/system/user";
import store from "@/store";
var userData = [{}];
const typeData = [
  { value: 0, label: "餐费" },
  { value: 1, label: "车程费" },
  { value: 2, label: "住宿费" },
  { value: 3, label: "办公用品" },
  { value: 4, label: "其他" },
];
const auditData = [
  { value: 0, label: "待审核" },
  { value: 1, label: "审核通过" },
  { value: 2, label: "审核不通过" },
];
getUser().then((res) => {
  userData = res.data.map((e: any) => {
    return {
      value: e.userName,
      label: e.userTrueName,
    };
  });
});
export { typeData, auditData, userData };